// 登录模块
import { makeAutoObservable } from "mobx"
import { axios_request, setToken, getToken, clearToken } from '@/utils'


class ModifyStore {
  constructor() {
    makeAutoObservable(this)
  }
  // 修改密码
  login = async ({ old_password, password }) => {
    const res = await axios_request.post('modify_password', {old_password, password})
    return res
  }
}
export default ModifyStore